package com.kgc.java.javaoop.chapter06.c6project;

/**
 * 用户类
 */
public class User {
    private String uName;//用户ID
    private String uPwd;//用户密码

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuPwd() {
        return uPwd;
    }

    public void setuPwd(String uPwd) {
        this.uPwd = uPwd;
    }

    public User() {
    }

    public User(String uName, String uPwd) {
        this.uName = uName;
        this.uPwd = uPwd;
    }
}
